package 动态数组.队列.接口;

import 动态数组.栈.接口.Stack;

public interface Deque<E> extends Queue<E>, Stack<E> {
    public void addFirst(E element);
    public void addLast(E element);
    public E removeFirst();
    public E removeLast();
    public E getFirst();
    public E getLast();
}
